package com.ruoyi.bantong.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户版通分兑换记录对象 bt_user_score_record
 * 
 * @author laohei
 * @date 2021-02-20
 */
public class BtUserScoreRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Integer osid;

    /** $column.columnComment */
    private Integer ucrId;

    private Integer userId;

    /** 用户头像 */
    private String avatar;
    /** 用户等级 */
    private Integer level;
    /** 用户姓名 */
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal score;

    /** 凭证图片 */
    @Excel(name = "凭证图片")
    private String voucher;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setUcrId(Integer ucrId) 
    {
        this.ucrId = ucrId;
    }

    public Integer getUcrId() 
    {
        return ucrId;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setVoucher(String voucher) 
    {
        this.voucher = voucher;
    }

    public String getVoucher() 
    {
        return voucher;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOsid() {
        return osid;
    }

    public void setOsid(Integer osid) {
        this.osid = osid;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ucrId", getUcrId())
            .append("score", getScore())
            .append("voucher", getVoucher())
            .append("memo", getMemo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
